//
//  DGGlobalTimerTaskManager.h
//  DGGlobalTimer
//
//  Created by Jinxiao on 7/25/14.
//  Copyright (c) 2014 debugeek. All rights reserved.
//

@class DGGlobalTimerTask;

@interface DGGlobalTimerTaskManager : NSObject

@property (readwrite, nonatomic, strong) NSMutableArray *tasks;

+ (instancetype)sharedInstance;

- (void)restoreAllTimerTasks;

- (void)addTimerTask:(DGGlobalTimerTask *)task;
- (void)removeTimerTaskForKey:(NSString *)key;
- (DGGlobalTimerTask *)timerTaskForKey:(NSString *)key;

@end
